<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>jQuery Ajax</title>
</head>
<body>
  <script>
  var str = '{"data": 1}'

  JSON.parse(str)
  
  </script>
</body>
</html>
  